export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  menu: false,
  addBtn: false,
  refreshBtn: true,
  columnBtn: true,
  menuWidth:100,
  height: "60vh",
  column: [
    {
      type: "input",
      label: "工单号",
      prop: "docNo",
      span: 12,
      width: 150,
      "search": true,
      overHidden: true
    },
    {
      type: "input",
      label: "品号",
      prop: "itemCode",
      span: 12,
      width: 150,
      "search": true,
      overHidden: true
    },
    {
      type: "select",
      label: "车间",
      prop: "workshopId",
      span: 12,
      overHidden: true,
      dicUrl: "/admin-api/o3-pfoc/workshop/getWorkshopList",
      dicMethod: "get",
      props: {
        label: "workshopName",
        value: "id"
      },
      search: true,
      searchLabelWidth: 100
    },
    {
      type: "select",
      label: "产线",
      prop: "productLineId",
      span: 12,
      overHidden: true,
      dicUrl: "/admin-api/o3-pfoc/realityproductlinemain/getLineList",
      dicMethod: "get",
      props: {
        label: "realityLineName",
        value: "id"
      },
      search: true
    },
    {
      type: "select",
      label: "工序",
      prop: "processName",
      span: 12,
      "search": true,
      overHidden: true,
      dicUrl: "/admin-api/o3-pfoc/pfocprocess/getPfocProcessList",
      dicMethod: "get",
      props: {
        label: "processName",
        value: "processName"
      }
    },
    {
      type: "select",
      label: "不良类别",
      prop: "badCategory",
      span: 12,
      "search": true,
      overHidden: true,
      dicUrl: "/admin-api/o3-pfoc/badcategory/getBadCategoryList",
      dicMethod: "get",
      props: {
        label: "badName",
        value: "badName"
      }
    },
    {
      type: "input",
      label: "产品工艺",
      prop: "productProcessName",
      span: 12,
      overHidden: true,
      hide: true
    },
    {
      type: "input",
      label: "流程图",
      prop: "flowChartNo",
      span: 12,
      overHidden: true,
      hide: true
    },
    {
      type: "input",
      label: "工位",
      prop: "workPositionName",
      span: 12,
      overHidden: true,
      hide: true
    },
    {
      type: "input",
      label: "工段",
      prop: "workshopSection",
      span: 12,
      overHidden: true
    },
    {
      type: "input",
      label: "开始时间",
      prop: "startTime",
      span: 12,
      overHidden: true
    },
    {
      type: "input",
      label: "结束时间",
      prop: "endTime",
      span: 12,
      overHidden: true
    },
    {
      type: "input",
      label: "投入数量",
      prop: "investQty",
      span: 12
    },
    {
      type: "input",
      label: "不良数量",
      prop: "badQty",
      span: 12
    },
    {
      type: "input",
      label: "异常情况",
      prop: "abnormalSituation",
      span: 12,
      overHidden: true
    },
    {
      type: "input",
      label: "产出数量",
      prop: "outPutQty",
      span: 12
    },
    {
      type: "input",
      label: "良率",
      prop: "yield",
      span: 12
    },
    {
      type: "input",
      label: "线长查核",
      prop: "lineLeaderCheck",
      span: 12,
      hide: true
    },
    {
      type: "input",
      label: "报工时间",
      prop: "reportTime",
      span: 12,
      format: "yyyy-MM-dd HH:mm:ss",
      valueFormat: "yyyy-MM-dd HH:mm:ss"
    }
  ]
}
